package com.shd.edanpei.bean;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.List;

/**
 * Created by mc on 2018/9/26.
 * yang-wen-wen
 */

public class ImgInfoBean implements Parcelable {
    private List<String> idCardPic;
//    private List<String> bankPic;
    private List<String> householdRegister;
    private List<String> maritalCert;//婚姻证书
    private List<String> carCert;//汽车证书
    private List<String> carWarranty;//汽车保单
    private List<String> creditCert;//信用报告
    private List<String> supplement;
    private List<String> roomCert;//房产证
    private List<String> businessCert;
//    private List<String> companyStream;
    private List<String> otherHouseCert;

    public ImgInfoBean() {
    }

    protected ImgInfoBean(Parcel in) {
        idCardPic = in.createStringArrayList();
//        bankPic = in.createStringArrayList();
        householdRegister = in.createStringArrayList();
        maritalCert = in.createStringArrayList();
        carCert = in.createStringArrayList();
        carWarranty = in.createStringArrayList();
        creditCert = in.createStringArrayList();
        supplement = in.createStringArrayList();
        roomCert = in.createStringArrayList();
        businessCert = in.createStringArrayList();
//        companyStream = in.createStringArrayList();
        otherHouseCert = in.createStringArrayList();
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeStringList(idCardPic);
//        dest.writeStringList(bankPic);
        dest.writeStringList(householdRegister);
        dest.writeStringList(maritalCert);
        dest.writeStringList(carCert);
        dest.writeStringList(carWarranty);
        dest.writeStringList(creditCert);
        dest.writeStringList(supplement);
        dest.writeStringList(roomCert);
        dest.writeStringList(businessCert);
//        dest.writeStringList(companyStream);
        dest.writeStringList(otherHouseCert);
    }

    @Override
    public int describeContents() {
        return 0;
    }

    public static final Creator<ImgInfoBean> CREATOR = new Creator<ImgInfoBean>() {
        @Override
        public ImgInfoBean createFromParcel(Parcel in) {
            return new ImgInfoBean(in);
        }

        @Override
        public ImgInfoBean[] newArray(int size) {
            return new ImgInfoBean[size];
        }
    };

    public List<String> getIdCardPic() {
        return idCardPic;
    }

//    public List<String> getBankPic() {
//        return bankPic;
//    }

    public List<String> getHouseholdRegister() {
        return householdRegister;
    }

    public List<String> getMaritalCert() {
        return maritalCert;
    }

    public List<String> getCarCert() {
        return carCert;
    }

    public List<String> getCarWarranty() {
        return carWarranty;
    }

    public List<String> getCreditCert() {
        return creditCert;
    }

    public List<String> getSupplement() {
        return supplement;
    }

    public List<String> getRoomCert() {
        return roomCert;
    }

    public List<String> getBusinessCert() {
        return businessCert;
    }

    public void setBusinessCert(List<String> businessCert) {
        this.businessCert = businessCert;
    }

    //
//    public List<String> getCompanyStream() {
//        return companyStream;
//    }

    public List<String> getOtherHouseCert() {
        return otherHouseCert;
    }

    public void setIdCardPic(List<String> idCardPic) {
        this.idCardPic = idCardPic;
    }

    public void setHouseholdRegister(List<String> householdRegister) {
        this.householdRegister = householdRegister;
    }

    public void setMaritalCert(List<String> maritalCert) {
        this.maritalCert = maritalCert;
    }

    public void setCarCert(List<String> carCert) {
        this.carCert = carCert;
    }

    public void setCarWarranty(List<String> carWarranty) {
        this.carWarranty = carWarranty;
    }

    public void setCreditCert(List<String> creditCert) {
        this.creditCert = creditCert;
    }

    public void setSupplement(List<String> supplement) {
        this.supplement = supplement;
    }

    public void setRoomCert(List<String> roomCert) {
        this.roomCert = roomCert;
    }

    public void setOtherHouseCert(List<String> otherHouseCert) {
        this.otherHouseCert = otherHouseCert;
    }
}